package com.example.administrator.yuejian_2.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.administrator.yuejian_2.R;

/**
 * Created by Administrator on 2017/11/6.
 */

public class TrainCollectListViewHolder extends RecyclerView.ViewHolder {
    public ImageView trainpic;
    public TextView trainname;
    public ImageButton collect_button;
    public View itemView;

    public TrainCollectListViewHolder(View itemView){
        super(itemView);
        this.itemView = itemView;
        trainpic = itemView.findViewById(R.id.train_pic);
        trainname = itemView.findViewById(R.id.train_name);
        collect_button = itemView.findViewById(R.id.collect_button);


    }
}
